<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

    </style>
</head>
<body>
    
</body>
<script>
//    2.判断一个整数是偶数还是奇数，并输出判断结果
var  m=10;
if(m%2===0)
{console.log("偶数");}
else{console.log("奇数")}
</script>
</html>